package top.kaoshanji.q2ch16a.web;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @author kaoshanji
 * ^_^
 * create time 2025/4/26 10:48
 */
@Configuration
@EnableWebMvc
@ComponentScan({"top.kaoshanji.q2ch16a.web", "top.kaoshanji.q2ch16a.api"})
public class WebConfig extends WebMvcConfigurerAdapter {

    @Override
    public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
        configurer.enable();
    }

}
